import request from '../utils/request'

//获取商户信息
export function getMerchantInformation(params) {
    return request.post('merchant/information',params)
}

//获取商户产品分类
export function ProductCategory(params) {
    return request.post('product_category/merchantLists',params)
}

export function MerchantGoodsCategory(params) {
    return request.post('Goods_category/merchantQueryLists',params)
}

export function MerchantCreateGoodsCategory(params) {
    return request.post('Goods_category/create',params)
}

export function MerchantInfoGoodsCategory(params) {
    return request.post('Goods_category/info',params)
}

export function MerchantEditGoodsCategory(params) {
    return request.post('Goods_category/edit',params)
}

export function MerchantDelGoodsCategory(params) {
    return request.post('Goods_category/del',params)
}

export function MerchantGetGoodsList(params) {
    return request.post('Goods/merchantGetGoodsList',params)
}

// 申请商户
export function merchantApply(params) {
    return request.post('merchant/apply', params);
}

// 申请商户
export function createAdvertising(params) {
    return request.post('ShopAdvertising/create', params);
}

// 申请商户
export function advertisingLists(params) {
    return request.post('circle_of_friends/lists', params);
}

export function queryShopAdvertising(params) {
    return request.post('ShopAdvertising/queryShopAdvertising', params);
}

export function advertisingInforamtion(params) {
    return request.post('ShopAdvertising/inforamtion', params);
}